package com.zzyl.mapper;

import com.zzyl.dto.LoginDto;
import com.zzyl.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("select * from sys_user where username=#{username} and password=#{password}")
    UserVo login(LoginDto loginDto);
}
